/*** Created by huangxuehua on 2017/11/23.*/
/** 首页轮播图片详情页   **/
/****右上角分享按钮弹出框*****/


apiready = function(){
    api.parseTapmode();
}
var actionsheet = new auiActionsheet();

function openActionsheet() {
    actionsheet.init({
        frameBounces: true,//当前页面是否弹动，（主要针对安卓端）
        title: "",
        cancelTitle: '取消',
        // destructiveTitle:'红色警告按钮',
        buttons: ['分享至微信朋友圈', '分享至微信好友', '分享至微博']

    });
}
/***服务弹窗****/
function openServe() {
    actionsheet.init({
        frameBounces: true,//当前页面是否弹动，（主要针对安卓端）
        title: "",
        cancelTitle: '确定',
        // destructiveTitle:'红色警告按钮',
        buttons: ['顺丰快递', '24小时发货', '7天退货']
    })
}
$('div.goHome').click(function(){
    window.location.href="../../index.html"
});

$('li.goComment').click(function(){
    window.location.href="./comment.html"
});
$('div.goBuy').click(function(){
    window.location.href="../buy.html"
});

$(".popUp").click(function(){
    $(".options").css("display","block");
});
$(".closeBtn").click(function(){
    $(".options").css("display","none");
})